<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="java.util.List"%>
<%@ page import="edu.ntu.im.p2ptrade.entity.*"%>
<% List<Item> items = (List<Item>)request.getAttribute("items");%>
<html>
  <head>
  <title>List Items </title>
  </head>
  <body>
  <%for (Item item:items) {%>
     <div>
       <%=item.getName() %> | <%=item.getMemo()%>
     </div>
  <%} %>
  </body>
</html>